using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Sandia.MVCFramework.View;

namespace Sandia.MVCFramework.ViewManager
{
    /// <summary>
    /// A standard view manager state implementation.
    /// </summary>
    public class StandardViewManagerState : IViewManagerState
    {
        private IList<IView> views;

        private ILayoutNode mainLayout;

        private ILayoutNode toolLayout;

        private int mainHeight;

        #region IViewManagerState Members

        /// <summary>
        /// A list of all the views in this view manager.
        /// </summary>
        public IList<IView> Views
        {
            get { return this.views; }
            set { this.views = value; }
        }

        /// <summary>
        /// The layout object of the main views for the view manager.
        /// </summary>
        public ILayoutNode MainLayout
        {
            get { return this.mainLayout; }
            set { this.mainLayout = value; }
        }

        /// <summary>
        /// The layout object of the tool views for the view manager.
        /// </summary>
        public ILayoutNode ToolLayout
        {
            get { return this.toolLayout; }
            set { this.toolLayout = value; }
        }

        /// <summary>
        /// The percent that the main windows should take on the screen.
        /// </summary>
        public int MainHeight
        {
            get { return this.mainHeight; }
            set { this.mainHeight = value; }
        }

        #endregion
    }
}
